]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
dbus-interfaces: Add names to introspection data for notifications
authorRobert Ancell <robert.ancell@canonical.com>
Wed, 3 Aug 2022 01:39:14 +0000 (13:39 +1200)
committerMarge Bot <marge-bot@gnome.org>
Tue, 9 Aug 2022 11:55:46 +0000 (11:55 +0000)
This makes it easier to use via gdbus/d-feet.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2398>

data/dbus-interfaces/org.gtk.Notifications.xml

index e2461fff8214a356a4b3e9453ef5729accd5d0dc..56a6cecbe0fedc83244df2eef3793b778cffdce1 100644 (file)
@@ -1,13 +1,13 @@
 <node>
   <interface name="org.gtk.Notifications">
     <method name="AddNotification">
-      <arg type="s" direction="in"/>
-      <arg type="s" direction="in"/>
-      <arg type="a{sv}" direction="in"/>
+      <arg name="app_id" type="s" direction="in"/>
+      <arg name="id" type="s" direction="in"/>
+      <arg name="notification" type="a{sv}" direction="in"/>
     </method>
     <method name="RemoveNotification">
-      <arg type="s" direction="in"/>
-      <arg type="s" direction="in"/>
+      <arg name="app_id" type="s" direction="in"/>
+      <arg name="id" type="s" direction="in"/>
     </method>
   </interface>
 </node>